From 5c2e42c0b8d24b8cc4f3fe4cc74d5bbd21f82d30 Mon Sep 17 00:00:00 2001 From: "djm@kirby.fc.hp.com" Date: Wed, 27 Jul 2005 13:16:28 -0700 Subject: [PATCH] Disable NaT support, fast tick and improved PAL support until multi-domain stabilizes --- xen/arch/ia64/dom_fw.c | 4 ++++ xen/arch/ia64/hyperprivop.S | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/xen/arch/ia64/dom_fw.c b/xen/arch/ia64/dom_fw.c index e369fa4c26..d606edafe2 100644 --- a/xen/arch/ia64/dom_fw.c +++ b/xen/arch/ia64/dom_fw.c @@ -291,6 +291,10 @@ xen_pal_emulator(unsigned long index, unsigned long in1, long r11 = 0; long status = -1; +#define USE_PAL_EMULATOR +#ifdef USE_PAL_EMULATOR + return pal_emulator_static(index); +#endif if (running_on_sim) return pal_emulator_static(index); if (index >= PAL_COPY_PAL) { printk("xen_pal_emulator: UNIMPLEMENTED PAL CALL %d!!!!\n", diff --git a/xen/arch/ia64/hyperprivop.S b/xen/arch/ia64/hyperprivop.S index 7c6d0146f9..c97f332c7f 100644 --- a/xen/arch/ia64/hyperprivop.S +++ b/xen/arch/ia64/hyperprivop.S @@ -18,7 +18,7 @@ #define FAST_HYPERPRIVOPS #define FAST_HYPERPRIVOP_CNT #define FAST_REFLECT_CNT -#define FAST_TICK +//#define FAST_TICK #define FAST_BREAK #define FAST_ACCESS_REFLECT #define FAST_RFI @@ -27,8 +27,8 @@ #undef RFI_TO_INTERRUPT // not working yet #endif -// FIXME: turn off for now... fix zero'ing regs, should be bank1? -#define HANDLE_AR_UNAT +// FIXME: turn off for now... but NaTs may crash Xen so re-enable soon! +//#define HANDLE_AR_UNAT // FIXME: This is defined in include/asm-ia64/hw_irq.h but this // doesn't appear to be include'able from assembly? -- 2.30.2